package com.jiguang.jiekouhuidiaoceshi.AsynCallBack;/**
 * Created by apple on 16/8/30.
 */

import android.os.AsyncTask;

/**
 * 作者：ban on 16/8/30 18:00
 */
public class MyTask extends AsyncTask<String,Void,String> {

    private ChangeTitle changeTitle;

    public MyTask(ChangeTitle changeTitle){
        this.changeTitle = changeTitle;
    }

    @Override
    protected String doInBackground(String... params) {
        if (params[0]!=null) {
            changeTitle.onChangeTitle(params[0]);
        }
        return null;
    }
}
